package com.eclab.security.core.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author yd
 * @Date 2018/10/9 20:42
 */
@ConfigurationProperties(prefix = "eclab.security")
public class SecurityProperties {

    private BrowserProperties browser = new BrowserProperties();

    private ValidateCodeProperties code = new ValidateCodeProperties();

    private SocialProperties social = new SocialProperties();

    private OAuth2Properties oAuth2 = new OAuth2Properties();


    public BrowserProperties getBrowser() {
        return browser;
    }

    public void setBrowser(BrowserProperties browser) {
        this.browser = browser;
    }

    public ValidateCodeProperties getCode() {
        return code;
    }

    public void setCode(ValidateCodeProperties code) {
        this.code = code;
    }

    public void setSocial(SocialProperties social) {
        this.social = social;
    }

    public SocialProperties getSocial() {
        return social;
    }

    public OAuth2Properties getoAuth2() {
        return oAuth2;
    }

    public void setoAuth2(OAuth2Properties oAuth2) {
        this.oAuth2 = oAuth2;
    }
}
